<html><head><title>CreateSpline</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">CreateSpline()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>CreateSpline</b></font>(#Spline)</blockquote>

<b>Description</b><br><blockquote>

Creates a new spline. A spline doesn't exist physically in the 3D world, it is an virtual 
object which can be used for different purpose, like path-finding, smooth node moving 
(be sure to check <a href="../nodeanimation/index.html">NodeAnimation</a> library for this as well) 
and more. To calculate the position of an intermediate point, see <a href="computespline.html">ComputeSpline()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Spline</i></td>
<td width="90%"> 
The number to identify the new spline. <a href="../reference/purebasic_objects.html">#PB_Any</a> can 
be used to auto-generate this number. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns zero if the spline can't be created. If <a href="../reference/purebasic_objects.html">#PB_Any</a> is used 
as '#Spline' parameter, the new spline number is returned. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="freespline.html">FreeSpline()</a>, <a href="computespline.html">ComputeSpline()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=countsplinepoints.html>CountSplinePoints()</a> - <a href="index.html">Spline Index</a> - <a href="freespline.html">FreeSpline()</a> -><br><br>

</body></html>